import { http } from '@/utils/http'

/**
 * 控制tbox
 */
export const carCommandTbox = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/carTboxVehicle/commandTbox',
    data,
  })
}
/**
 * 获取车辆的Gps定位
 */
export const getCarGpsOne = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/carVehicle/getCarGpsOne',
    data,
  })
}

/**
 * 
 * @param data 根据车辆id查询
 * @returns 
 */
export const getByCarIdDetail = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/carTboxVehicle/getByCarId',
    data,
  })
}
